﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Devtm.Parsing
{

    public class ItemProjectFormula : ItemFormula
    {

        protected override string VisitText(Lexer l, Context c, string value)
        {

            string result = value;

            var v1 = c.Visitor.Solution.GetExtensionFromProject(l.Value);
            result = c.Visitor.Solution.GetProjectFilename(l.Value + v1).FullName;

            return result;

        }

    }

}
